package com.sinosoft;

import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author loujiang
 * @date 2020/12/22 10:33 上午
 * @NOTE:
 */
@SpringBootApplication
@EnableFeignClients
public class FeignConsumerApplication {
        public static void main(String[] args) {
            new SpringApplicationBuilder(FeignConsumerApplication.class).
                    web(WebApplicationType.SERVLET)
                    .run(args);
        }
}
